package com.nkym.wypan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nkym.wypan.model.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author 19637
 * @description 针对表【wy_pan_user_info】的数据库操作Mapper
 * @createDate 2023-06-07 15:42:47
 * @Entity generator.domain.UserInfo
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    void addTotalSpace(@Param("userId") Long userId, @Param("addSpace") Long addSpace);

    void addUseSpace(@Param("size") Long size ,@Param("userId") Long userId);
    void freeUpUseSpace(@Param("size") Long size ,@Param("userId") Long userId);
}




